import service from "../../utils/request"

export const getHouseResPage = async (page: number, phone: string): Promise<PageResult<ListHouseRes[]>> =>
await service.get(`/house-res/page?page=${page}&landload_phone=${phone}`)

export const delHouseRes = async (id: string, house_plot: string): Promise<Result<string>> =>
await service.delete(`/house-res/del/${id}/${house_plot}`)